package NewsWork;

import java.util.Scanner;

public class Newslearn1 {
    public static void main(String[] args){
        //System.out.println("我要开始学习JAVA了,今天又是知识量满满的一天");
        /*System.out.println("海绵宝宝");
        System.out.println(3);
        System.out.println("海底");
        System.out.println(true);
        System.out.println(10.99);*/
        /*String name="派大星";
        int year=1;
        double salary=10000.0;
        System.out.println(name+":这是我学习Java的第"+year+"年，我的期望薪资是:"+salary);*/
        /*int number1=1;
        int number2=2;
        System.out.println(number1+number2);*/
        /*double fatherHeight=175;
      double motherHeight=160;
      double sonHeight=(fatherHeight+motherHeight)*1.08/2;
     double daughterHeight=(fatherHeight*0.923+motherHeight)/2;
     System.out.println("儿子预计身高"+sonHeight+"厘米");
     System.out.println("女儿预计身高"+daughterHeight+"厘米");*/
        /*int red=25;
        int blue=30;
        red=red*2+10;
        blue*=2;
        System.out.println(red==blue);*/
        /*double moneyOne=24+8+3;
        moneyOne=(moneyOne<30?moneyOne:moneyOne*0.8);
        double moneyTwo=16+8+3;
       double money=moneyOne<moneyTwo?moneyOne:moneyTwo;
       System.out.println(money);*/
        /*System.out.println("请输入第一个整数:");
        int a=new Scanner(System.in).nextInt();
        System.out.println("请输入第二个整数:");
        int b=new Scanner(System.in).nextInt();
        System.out.println("请输入第三个整数:");
        int c=new Scanner(System.in).nextInt();
        int max=a>b?(a>c?a:c):(b>c?b:c);
        System.out.println("三个数的最大值是:"+max);*/


    }
}
